package nc.itf.yst;

import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.pub.BusinessException;
import nc.vo.yst.sales.AggSalesHVO;

public interface ISALESMaintain {

	public void delete(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] insert(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] update(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] query(IQueryScheme queryScheme)
			throws BusinessException;

	public AggSalesHVO[] save(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] unsave(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] approve(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;

	public AggSalesHVO[] unapprove(AggSalesHVO[] clientFullVOs,
			AggSalesHVO[] originBills) throws BusinessException;
	
	public String[] queryPKs(IQueryScheme queryScheme)
			throws BusinessException;
	
	public AggSalesHVO[] queryBillByPK(String[] pks)
			throws BusinessException;
	public void updateSale(String pk_head,String bbh,String nf,String yf,String pk_org,String salbbh) throws BusinessException;
	public void updatereturnSale(String bbh,String nf,String yf,String pk_org,String salbbh) throws BusinessException;
}
